package com.bosc.automationui.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Date;

@Entity
@Table(name = "etl_job_status")
public class ETLJobStatus {

    @Id
    @Column(name = "jobsessionid")
    private Integer jobSessionId;

    @Column(name = "etl_system", nullable = false, length = 20)
    private String etlSystem;

    @Column(name = "etl_job", nullable = false, length = 50)
    private String etlJob;

    @Column(name = "batch_no", nullable = false)
    private Integer batchNo;

    @Column(name = "batch_acc", nullable = false)
    private Integer batchAcc;

    @Column(name = "batch_sum", nullable = false)
    private Integer batchSum;

    @Column(name = "txdate", nullable = false)
    private Date txDate;

    @Column(name = "starttime", length = 19)
    private String startTime;

    @Column(name = "endtime", length = 19)
    private String endTime;

    @Column(name = "jobstatus", length = 20)
    private String jobStatus;

    @Column(name = "filecnt")
    private Integer fileCnt;

    @Column(name = "cubestatus", length = 20)
    private String cubeStatus;

    @Column(name = "expectedrecord")
    private Integer expectedRecord;

    public Integer getJobSessionId() {
        return jobSessionId;
    }

    public void setJobSessionId(Integer jobSessionId) {
        this.jobSessionId = jobSessionId;
    }

    public String getEtlSystem() {
        return etlSystem;
    }

    public void setEtlSystem(String etlSystem) {
        this.etlSystem = etlSystem;
    }

    public String getEtlJob() {
        return etlJob;
    }

    public void setEtlJob(String etlJob) {
        this.etlJob = etlJob;
    }

    public Integer getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(Integer batchNo) {
        this.batchNo = batchNo;
    }

    public Integer getBatchAcc() {
        return batchAcc;
    }

    public void setBatchAcc(Integer batchAcc) {
        this.batchAcc = batchAcc;
    }

    public Integer getBatchSum() {
        return batchSum;
    }

    public void setBatchSum(Integer batchSum) {
        this.batchSum = batchSum;
    }

    public Date getTxDate() {
        return txDate;
    }

    public void setTxDate(Date txDate) {
        this.txDate = txDate;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getJobStatus() {
        return jobStatus;
    }

    public void setJobStatus(String jobStatus) {
        this.jobStatus = jobStatus;
    }

    public Integer getFileCnt() {
        return fileCnt;
    }

    public void setFileCnt(Integer fileCnt) {
        this.fileCnt = fileCnt;
    }

    public String getCubeStatus() {
        return cubeStatus;
    }

    public void setCubeStatus(String cubeStatus) {
        this.cubeStatus = cubeStatus;
    }

    public Integer getExpectedRecord() {
        return expectedRecord;
    }

    public void setExpectedRecord(Integer expectedRecord) {
        this.expectedRecord = expectedRecord;
    }
}
